package org.ktjy.demoLian.service;

import org.apache.ibatis.annotations.Param;
import org.ktjy.demoLian.entity.SysRight;
import org.ktjy.demoLian.entity.SysRole;
import org.ktjy.demoLian.entity.SysRoleRight;
import org.ktjy.demoLian.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.ktjy.demoLian.entity.vo.SysUserVo;
import org.ktjy.demoLian.page.User;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lwj
 * @since 2024-03-07
 */
public interface ISysUserService extends IService<SysUser> {
    SysUserVo getUserByUsrName(String UserName, String usrPassword);
    List<SysRight> getRights(int rid);

    List<SysUser> getAMapeList( String userName,int roleName, int index,int size);
    int getConut(String userName,int rid);

    List<SysRole> getRoleList();
}
